package com.lu.statistics.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lu.statistics.entity.RCustomerCartDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RCustomerCartDetailsMapper extends BaseMapper<RCustomerCartDetails> {
    /**
     * 批量添加购物车明细列表
     *
     * @param list
     */
    void batchInsertCartDetails(List<RCustomerCartDetails> list);

    /**
     * 删除购物车明细
     * @param cartId
     */
    void deleteCartDetails(@Param("cartId") Integer cartId);
}
